package com.demo.bridge;

import com.demo.bridge.abs.FoldedPhone;
import com.demo.bridge.interfaces.XiaoMi;

public class Client {
    public static void main(String[] args) {
        XiaoMi xiaoMi = new XiaoMi();
        FoldedPhone foldedPhone = new FoldedPhone(xiaoMi);
        foldedPhone.open();
        foldedPhone.call();
        foldedPhone.close();
    }
}
